<template>
  <div id="app">
<!-- // style标签具有该scoped属性时，其CSS将仅应用于当前组件的元素 -->

    <!-- <el-button>按钮</el-button> -->
    <div class="box">
      <div class="left"></div>
      <div class="mid"></div>
      <div class="right"></div>
    </div>
  </div>

</template>

<script>
import HelloWorld from './components/HelloWorld.vue'

export default {
  name: 'App',
  components: {
    HelloWorld
  }
}
</script>
<style lang='less' scoped>
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
#app {
  .box {
    display: flex;
    width: 100%;
    height: 100vh;
    .left {
      flex: 1;
      background-color: coral;
    }

    .mid {
      flex: 1;
      background-color: cornflowerblue;
    }

    .right {
      flex: 1;
      background-color: darkslateblue;
    }
  }
}

</style>
